import { http } from '@/utils/http/axios';

/**
 * @description: 获取门店类型列表
 */
export function storelist(params) {
    return http.request({
      url: '/device/storelist',
      method: 'GET',
      params
    });
}

export function addStore(params) {
    return http.request({
        url: '/device/addstore',
        method: 'POST',
        params
    });
}

export function editStore(params) {
    return http.request({
        url: '/device/editstore',
        method: 'POST',
        params
    });
}

export function delStore(params) {
    return http.request({
        url: '/device/delstore',
        method: 'GET',
        params
    });
}

export function storeInfo(params) {
    return http.request({
        url: '/device/storeinfo',
        method: 'GET',
        params
    });
}

